method in (someone's) madness

Translations
метод в (чьём-то) безумии
Though his actions seem random, there is a method in his madness.
Хотя его действия кажутся случайными, в его безумии есть метод.
Definitions
A phrase used to suggest that there is a logical reason or purpose behind someone's seemingly irrational or strange behavior.